package com.demo.mapper.bomgl;

import com.demo.mapper.BaseMapper;
import com.demo.model.bomdetails.bomdetails;
import com.demo.model.bomgl.bomgl;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface bomglMapper extends BaseMapper<bomgl> {

    //获取bom详细信息
    @Select("SELECT * from bom_details")
    List<bomdetails> getbomdetailslist();

    @Select("SELECT material from bom_details")
    List<String> getmateriallist();
}
